@AccessControl.authorizationCheck: #NOT_REQUIRED
@EndUserText.label: 'csd for 996 table'
@Metadata.allowExtensions: true
@ObjectModel.query.implementedBy: 'ABAP:ZCL_MOON_UNMANAGED_QUERY'
define root view entity ZI_RAP_NWF_995 
with parameters p_werks:znwf_werks,
p_matnr:matnr
as select from zrap_nwf_996t

{

    key ebeln as Ebeln,
    matnr as Matnr,
    werks as werks

}where werks = $parameters.p_werks
